package com.whk.mapper;

import com.whk.pojo.OperateLog;
import org.apache.ibatis.annotations.Insert;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.web.bind.annotation.PutMapping;

/**
 * 操作日志接口
 */
@Mapper
public interface OperateLogMapper {

    @Insert("insert into operate_log value (#{id},#{operateUser},#{operateTime},#{className},#{methodName},#{methodParams},#{returnValue},#{costTime})")
    void insert(OperateLog operateLog);
}
